package com.jybd.live.service;

import com.jybd.live.model.Record;

import java.util.List;

public interface RecordService {
    /**
     * 获取录像信息
     * @param app
     * @param stream
     * @return
     */
    List<Record> getRecord(String app, String stream);

    /**
     * 根据id获取Record对象
     * @param id
     * @return
     */
    Record getById(Integer id);
}
